<?php
namespace App\Http\Service\Batch;


use App\Http\Service\Basic\BasicService;
use Config;

class BatchService extends BasicService
{

    //构造函数
    function __construct()
    {
        parent::__construct();
    }


    //批量续费
    public function BatchRenewAccount($where)
    {
//        dd(Config::get('custom.setting.BASE_API_PATH') . Config::get('custom.api.batch_renew_account'), json_encode($where,JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), 'post');
        return $this->curlLogic->callWebServer(Config::get('custom.setting.BASE_API_PATH') . Config::get('custom.api.user_account_batch_renew'), json_encode($where,JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), 'post');
    }

    // 批量添加 
    public function BatchAddAccount($where)
    {
//        dd(Config::get('custom.setting.BASE_API_PATH') . Config::get('custom.api.user_account_batch_add'), json_encode($where,JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), 'post');
        return $this->curlLogic->callWebServer(Config::get('custom.setting.BASE_API_PATH') . Config::get('custom.api.user_account_batch_add'), json_encode($where,JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), 'post');
    }








}